(function($){"use strict";UNCODE.rowParallax=function(){if(SiteParameters.is_frontend_editor||SiteParameters.smoothScroll!=="on")return;var $rows=$(".parallax-move"),stableHeight=UNCODE.wheight;$rows.each(function(){var $row=$(this),_row=$row[0],dataMove=$row.attr("data-parallax-move"),dataSafe=$row.attr("data-parallax-safe"),rowInViewport=!1,trans;if($row.find(".parallax-move").length)return;dataSafe=typeof dataSafe=="undefined"?"":dataSafe,dataMove=typeof dataMove=="undefined"||dataMove===""?3:dataMove,dataMove/=10;if("IntersectionObserver"in window){var observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){entry.isIntersecting?rowInViewport=!0:rowInViewport=!1})},{root:document});observer.observe(_row)}else rowInViewport=!0;var loopRAF=function(){if(rowInViewport){var bound=_row.getBoundingClientRect(),bound_top=bound.top,bound_height=bound.height,move=!0,scrolled=window.pageYOffset||window.document.documentElement.scrollTop,docH=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),fromBottom=docH-(scrolled+bound_top+bound_height);bound_height>stableHeight&&dataSafe==="yes"&&($row.find(">div").css({transform:"none"}),move=!1),UNCODE.wwidthdiv").css({transform:"none"}),move=!1),move&&(fromBottomdiv").css({transform:"translateY("+trans+"px) translateZ(0)"}))}requestAnimationFrame(loopRAF)};requestAnimationFrame(loopRAF)}),$(window).on("load resize",function(e){UNCODE.isMobile||(stableHeight=UNCODE.wheight)}),$(window).on("load wwResize",function(e){UNCODE.isMobile&&(stableHeight=UNCODE.wheight)})}})(jQuery)